package com.legendshop.openportal.sdk.model.response.v4;

import com.legendshop.openportal.sdk.model.BaseResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jzh
 * @version 1.0.0
 * @title ProdImportV4Response
 * @date 2025/4/10 11:03
 * @description：商品导入响应对象
 */
@Data
public class ProdSaveV4Response extends BaseResponse {

    private final static long serialVersionUID = 1L;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty("商品ID")
    private Long prodId;

    @ApiModelProperty("外部商品编号")
    private String externalProdId;

    @Data
    public static class Sku implements Serializable {
        private final static long serialVersionUID = 1L;

        @ApiModelProperty("规格ID")
        private Long skuId;

        @ApiModelProperty(value = "商品编码")
        private String partyCode;
    }
}
